﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using EquipSecs300;
using SecsEquip;

namespace EquipSecs300
{
    public partial class OtherEventView : CMyFormEx
    {
        public GEM_OtherEvent OtherEvent { get; set; }

        public OtherEventView( )
        {
            m_pViewName = "OtherEvent";
            InitializeComponent();
           
        }
        public override void UpdateData()
        {
            OtherEvent = secsEquipHelper.OtherEvent;
        }

        private void btnPMStart_Click(object sender, EventArgs e)
        {
            OtherEvent.PMStart();
        }

        private void btnPMEnd_Click(object sender, EventArgs e)
        {
            OtherEvent.PMEnd();
        }
    }
}
